package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.pojo.NewsArticle;
import com.woniuxy.pojo.dto.NewsArticleDto;
import com.woniuxy.pojo.vo.AuditVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Xi'ao'M'ing
* @description 针对表【t_news_article(资讯表)】的数据库操作Service
* @createDate 2025-06-04 11:24:02
*/
public interface NewsArticleService extends IService<NewsArticle> {

    Page<NewsArticle> getNewsByType(Integer typeId, Integer pageNum, Integer pageSize, NewsArticleDto dto);

    List<NewsArticle> getAuthors();

    Page<AuditVO> getNewsByStatus(Integer pageNum, Integer pageSize, NewsArticleDto dto);
}
